package com.compus_help.Mapper;

import com.compus_help.entity.DTO.AdminLoginDTO;
import com.compus_help.entity.DTO.studentDTO;
import com.compus_help.entity.DTO.studentPageDTO;
import com.compus_help.entity.Pojo.Admin;
import com.compus_help.entity.Pojo.Student;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface AdminMapper {

    Admin adminLogin(AdminLoginDTO adminLoginDto);
    void addStudent(Student student);

    Page<Student> pageQuery(studentPageDTO studentPageDTO);

    void updateAcceptOrder(String studentId);

    void updatePublicOrder(String studentId);

    void updateStudentInfo(studentDTO studentDTO);
}
